<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
<title> 모바일 로그 저장 Test 페이지 </title>
<meta name="Keywords" content="" />
<meta name="Description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=medium-dpi" /><!-- 가로,세로크기고정 -->
<meta name="format-detection" content="telephone=no" />
 
<link rel="stylesheet" type="text/css" href="/mobile_demo/html/css/sub01.css" />
<script language="JavaScript" charset="UTF-8">
	function insert(){
	
		if(document.form.OS.value == "") {
			alert("OS명을 입력하세요!");
			document.form.OS.focus();
			return;
		}
		
		if(document.form.APP.value == "") {
			alert("APP를 입력하세요!");
			document.form.APP.focus();
			return;
		}
		
		if(document.form.PACKAGE.value == "") {
			alert("PACKAGE를 입력하세요!");
			document.form.PACKAGE.focus();
			return;
		}
		
		if(document.form.VERSION.value == "") {
			alert("VERSION을 입력하세요!");
			document.form.VERSION.focus();
			return;
		}
		
		if(document.form.UNIV.value == "") {
			alert("UNIV을 입력하세요!");
			document.form.UNIV.focus();
			return;
		}
		
		if(document.form.SID.value == "") {
			alert("SID을 입력하세요!");
			document.form.SID.focus();
			return;
		}
		
		if(document.form.MODEL.value == "") {
			alert("MODEL을 입력하세요!");
			document.form.MODEL.focus();
			return;
		}
		
		if(document.form.SDK_VERSION.value == "") {
			alert("SDK_VERSION을 입력하세요!");
			document.form.SDK_VERSION.focus();
			return;
		}
		if(document.form.MESSAGE.value == "") {
			alert("에러메시지를 입력하세요!");
			document.form.MESSAGE.focus();
			return;
		}
		
		
		document.form.action = "/mobile_demo/log?attribute=insert";
		document.form.method="POST";
		document.form.target = "hiddenFrame";
		document.form.submit();		
	}
	
</script>

</head>
<body onLoad="setTimeout(function(){window.scrollTo(0,1)},100);">
<form name="form">
<div class="wrap">
 
 
<div class="container">
 
	<div class="contents">
	
		<h3 class="subTitleBoxBlue">모바일 로그 저장 Test 페이지</h3><!--  -->
		
		<table class="table05 mgT12" >
		<caption>OS,APP,PACKAGE,VERSION,UNIV,SID,MODEL,SDK_VERSION,MESSAGE</caption>
		<colgroup>
			<col style="width:25%;" />
			<col style="width:*;" />
		</colgroup>
		<!-- OS -->
		<tr>
			<th scope="row">■OS</th>
			<td>
				<b><input type="text" name="OS" size="5" maxlength="3" value="IOS"></b>
				※3자리(AND/IOS)
			</td>
		</tr>
		<!-- APP -->
		<tr>
			<th scope="row">■APP</th>
			<td>
				<b><input type="text" name="APP" size="5" maxlength="3" value="DEF"></b>
				※3자리(KHU/DEF)				
			</td>
		</tr>
		<!-- PACKAGE -->
		<tr>
			<th scope="row">■PACKAGE</th>
			<td>
				<b><input type="text" name="PACKAGE" size="15" maxlength="50" value="PACKAGE"></b>
				※50자리
			</td>
		</tr>
		<!-- VERSION -->
		<tr>
			<th scope="row">■VERSION</th>
			<td>
				<b><input type="text" name="VERSION" size="12" maxlength="10" value="2.0.1"></b>
				※10자리		
			</td>
		</tr>
		<!-- UNIV -->
		<tr>
			<th scope="row">■UNIV</th>
			<td>
				<b><input type="text" name="UNIV" size="6" maxlength="4" value="DEMO"></b>
				※4자리
			</td>
		</tr>
		<!-- SID -->
		<tr>
			<th scope="row">■SID</th>
			<td>
				<b><input type="text" name="SID" size="10" maxlength="20" value="20110101"></b>
				※20자리(아이디)
			</td>
		</tr>
		<!-- MODEL -->
		<tr>
			<th scope="row">■MODEL</th>
			<td>
				<b><input type="text" name="MODEL" size="10" maxlength="20" value="MODEL"></b>
				※20자리(모델명)
			</td>
		</tr>
		<!-- SDK_VERSION -->
		<tr>
			<th scope="row">■SDK_VERSION</th>
			<td>
				<b><input type="text" name="SDK_VERSION" size="10" maxlength="20" value="SDK_VERSION"></b>
				※20자리
			</td>
		</tr>
		<!-- MESSAGE -->
		<tr>
			<th scope="row">■MESSAGE</th>
			<td>
				<b><textarea name="MESSAGE" cols="25" rows="2"></textarea>
			</td>
		</tr>
		</table>
	 
	 	<table class="table04 mgT12" >
	 		<tr>
				<td>
					<input type="button" value="저장" onClick="javascript:insert();">
				</td>
			</tr>
	 	</table>
		<hr />
	 
	 
	</div>
</div>
</form> 
<iframe src="" name="hiddenFrame" width="0" height="0" frameborder="0"></iframe>
</div>
</body>
</html>

